$OpenBSD: patch-fpcsrc_rtl_openbsd_i386_prt0_as,v 1.2 2014/03/23 10:54:43 pascal Exp $

Add .note.openbsd.ident section, needed to identify as OpenBSD executable.
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=23685

--- fpcsrc/rtl/openbsd/i386/prt0.as.orig	Mon Mar  4 09:48:00 2013
+++ fpcsrc/rtl/openbsd/i386/prt0.as	Tue Mar 11 19:36:06 2014
@@ -6,6 +6,14 @@
 	.ascii "OpenBSD\0"
 	.long	0
 	.previous
+	.section ".note.openbsd.ident", "a"
+	.p2align 2
+	.long	8
+	.long	4
+	.long	1
+	.ascii "OpenBSD\0"
+	.long	0
+	.previous
 	.file	"crt0.c"
 gcc2_compiled.:
 .data
